<?php
// 输入文件配置
?>
<!DOCTYPE html>
<html>
    <head>
        <title>检测环境结果</title>
        <meta chatset="utf-8">
    </head>
    <style type="text/css">
    .main-div{
        width:960px;
        padding:15px;
        margin:25px auto;
        border:1px solid rgb(240,240,240);
    }
    body {
        background-color:#F8F8F8;   
    }
    </style>
    <body>
        <div class="main-div">
        <center>
        <h1>输入配置信息</h1>
            <form action="install_sys.php" method="POST">
                <table border="1" cellspacing="1" style="width:80%;height:350px;">
                    <tr>
                        <td>数据库URL</td>
                        <td>
                        <input type="text" name="host" value="127.0.0.1" required>
                        </td>
                    </tr>
                    <tr>
                        <td>数据库管理员</td>
                        <td>
                        <input type="text" name="user" value="root" required>
                        </td>
                    </tr>
                    <tr>
                        <td>数据库密码</td>
                        <td>
                        <input type="password" name="pwd" value="123456" required>
                        </td>
                    </tr>
                    <tr>
                        <td>字符集</td>
                        <td>
                        <input type="text" name="charset" value="utf8" required>
                        </td>
                    </tr>
                    <tr>
                        <td>数据库名称</td>
                        <td>
                        <input type="text" name="name" value="bbs" required>
                        </td>
                    </tr>
                    <tr>
                        <td>bbs管理员</td>
                        <td>
                        <input type="text" name="bbsname" value="admin1" required>
                        </td>
                    </tr>
                    <tr>
                        <td>bbs密码</td>
                        <td>
                        <input type="text" name="bbspwd" value="123456" required>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center">
                        <button type="submit">下一步</button>
                        </td>
                    </tr>
                </table>
            </form>
        </center>
        </div>
    </body>
</html>